//
//  ADView.h
//  lehuotest
//
//  Created by ice on 2017/1/9.
//  Copyright © 2017年 QF. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef void(^StartADViewTapBlock)(NSString *urlString);

@interface StartADView : UIView

@property (nonatomic, copy) StartADViewTapBlock tapADViewBlock;


-(instancetype) init;



/**
 设置ad显示的图片路径和点击url

 @param filePath filePath
 @param urlString urlString
 */
-(void) setFilePath:(NSString *)filePath urlString:(NSString *)urlString;


/**
 类方法 显示adview

 @param success 点击图片回调
 */
+(void) showWithTapBlock:(void(^)(NSString *urlString))success;




@end
